package com.org.oracle.service;

import com.org.oracle.mongodb.dto.UserLoginDTO;
import com.org.oracle.mongodb.dto.UserModifyInfoDTO;
import com.org.oracle.result.Result;

/**
 * @author: heiye
 * @date: 2024/10/09 下午9:23
 * @version: v1.0.0
 * @description:
 */
public interface UserService {

    /**
     * 微信登录
     *
     * @return
     */
    Result wxLogin(UserLoginDTO dto);

    /**
     * 修改用户信息
     *
     * @param uid
     * @param dto
     * @return
     */
    Result modifyInfo(String uid, UserModifyInfoDTO dto);

    /**
     * 基于用户id查找用户信息
     *
     * @param uid
     * @return
     */
    Result findUserById(String uid);

}
